import java.math.BigDecimal;
public abstract class solid {
	public static final double pi=3.14;
	static double s;
	static double v;
	public static double spheres(int r){
		s=4.0*pi*r*r;
		return s;
	}
	public static double spherev(int r){
		v=(4.0/3.0)*pi*r*r*r;
		return v;
	}
	public static double cylinders(int r,int h){
		s=2.0*pi*r*r+pi*r*2.0*h;
		return s;
	}
	public static double cylinderv(int r,int h){
		v=pi*r*r*h;
		return v;
	}
	
	public static double conicals(int r,int l){
		s=pi*r*l+pi*r*r;
		return s;
	}
	public static double conicalv(int r,int h){
		v=(1.0/3.0)*pi*r*r*h;
		return v;
	}
}
